package com.software.frontend.mine.entity;

import android.graphics.Bitmap;

import java.util.List;

public class Comment {

    private String handlerName;
    private int timeLate;
    private Bitmap postPicture;
    private Bitmap handlerHead;
    private String CommentedComment;
    private String comment;


    public Comment(String handlerName, int timeLate, Bitmap postPicture, Bitmap handlerHead, String commentedComment, String comment) {
        this.handlerName = handlerName;
        this.timeLate = timeLate;
        this.postPicture = postPicture;
        this.handlerHead = handlerHead;
        CommentedComment = commentedComment;
        this.comment = comment;
    }

    public Comment() {
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public int getTimeLate() {
        return timeLate;
    }

    public void setTimeLate(int timeLate) {
        if (timeLate < 0){
            this.timeLate = 0;
        }else {
            this.timeLate = timeLate;
        }
    }

    public Bitmap getPostPicture() {
        return postPicture;
    }

    public void setPostPicture(Bitmap postPicture) {
        this.postPicture = postPicture;
    }

    public String getHandlerName() {
        return handlerName;
    }

    public void setHandlerName(String handlerName) {
        this.handlerName = handlerName;
    }

    public Bitmap getHandlerHead() {
        return handlerHead;
    }

    public void setHandlerHead(Bitmap handlerHead) {
        this.handlerHead = handlerHead;
    }

    public String getCommentedComment() {
        return CommentedComment;
    }

    public void setCommentedComment(String commentedComment) {
        CommentedComment = commentedComment;
    }
}
